﻿<div class="control-group">
	<label for="textfield" class="control-label">{{L "_name"}}</label>
	<div class="rol-name controls">
		<input type="text" placeholder={{L "_enterName"}} class="input-xlarge" name="rolname"
            data-rule-required="true" data-rule-minlength="3">
	</div>
</div>
<div class="control-group">
	<label for="textfield" class="control-label">{{L "_code"}}</label>
	<div class="rol-code controls">
		<input type="text" placeholder={{L "_enterCode"}} class="input-xlarge" name="rolcode"
            data-rule-required="true" data-rule-minlength="3">
	</div>
</div>
<div class="control-group">
	<label for="textfield" class="control-label">{{L "_processes"}}</label>
	<div class="controls process-selection">
		<select multiple="multiple" name="my-select[]" class='multiselect' data-selectionheader="{{L "_selectedList"}}" data-selectableheader="{{L "_selectionList"}}">
			{{#each procGroup}}
            <optgroup label="{{group}}">
                {{#each process}}
				<option value={{code}}>{{name}}</option>
                {{/each}}
			</optgroup>
            {{/each}}
		</select>
	</div>
</div>